package com.hightrast.service.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hightrast.service.api.domain.qo.rastOrderItem.QueryOrderProductItemsQo;
import com.hightrast.service.api.domain.qo.rastOrderItem.UpdateOrderProductItemsPaybackStatusQo;
import com.hightrast.service.api.domain.vo.rastOrderItem.QueryOrderProductItemsVo;
import com.hightrast.service.api.entity.RastOrderProductItems;
import com.hightrast.service.api.entity.RastOrderProductRefundItems;

import java.util.List;

/**
 * <p>
 * 订单商品项表 服务类
 * </p>
 *
 * @author hx
 * @since 2025-01-24
 */
public interface IRastOrderProductItemsService extends IService<RastOrderProductItems> {

    /**
     * 新增商品订单项目
     * @param orderProductItems
     */
    void addOrderProductItems(List<RastOrderProductItems> orderProductItems, List<RastOrderProductRefundItems> refundItems);

    /**
     * 获取商品订单列表
     */
    IPage<QueryOrderProductItemsVo> queryOrderProductItems(QueryOrderProductItemsQo qo);

    /**
     * 修改商品佣金项支付状态
     * @param qo
     */
    void updateOrderProductItemsPaybackStatus(UpdateOrderProductItemsPaybackStatusQo qo);
}
